﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.SysManage.Dto
{
    public class UserManageDto
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 部门管_主键ID
        /// </summary>
        public int PId { get; set; }

        /// <summary>
        /// 人员姓名
        /// </summary>
        [MaxLength(50)]
        public string PersonName { get; set; }

        /// <summary>
        /// 人员性别
        /// </summary>
        public bool Sex { get; set; }

        /// <summary>
        /// 证件类型
        /// </summary>
        public int IDType { get; set; }

        /// <summary>
        /// 证件号码
        /// </summary>
        [MaxLength(50)]
        public string IDNum { get; set; }

        /// <summary>
        /// 所属企业
        /// </summary>
        public int FirmId { get; set; }

        /// <summary>
        /// 所属部门ID
        /// </summary>
        public int DepartId { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        [MaxLength(50)]
        public string Phone { get; set; }

        /// <summary>
        /// 账户密码
        /// </summary>
        [MaxLength(50)]
        public string Password { get; set; }

        /// <summary>
        /// 人脸头像
        /// </summary>
        [MaxLength(300)]
        public string FaceImage { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int SortId { get; set; }

        /// <summary>
        /// 是否在线
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 所属角色
        /// </summary>
        public int RoleId { get; set; }
    }
}
